package com.qzdsoft.erpcloud.service.act;

import java.util.List;

import com.qzdsoft.erpcloud.domain.act.CenterProduct;
import com.qzdsoft.erpcloud.vo.query.act.CenterProductInfo;
import com.qzdsoft.vo.LayTableResponse;
import com.qzdsoft.vo.Response;

/**
 * Created by Yang
 */
public interface CenterProductService {

    CenterProduct selectById(Integer id);

    Response<String> saveOrUpd(CenterProduct actCenterProduct);

    Integer selectDataCount(String name, String type, Integer priceEdit, Integer periodType, Integer roleId);

    LayTableResponse<CenterProductInfo> selectData(String name, String type, Integer priceEdit, Integer periodType, Integer roleId, Integer start, Integer pageSize);

    List<CenterProduct> selectAll();
    
    Response<String> del(Integer id);
}
